<script type="text/javascript">
	var name = 'abc';

	var init = (function () {
		var name = 'bcd';
		function callName () {
			console.log(name)
		}
		return function () {
			callName()
		}
	}())

	init();
</script>